package com.framework.Module.REIM.imgroupuser;

import com.framework.Table.Table;

public class Tableimgroupuser extends  Table{
   
    protected void initTable() {
        this.tablename   = "imgroupuser";
        this.tablenamesm = "会话群人员";

        this.addfields("type", "tinyint(1)", "0", "类型");
        this.addfields("gid", "int(11)", "0", "对应群ID");

        this.addfields("sid", "int(11)", "0", "用户ID");

        this.addfields("cid", "int(11)", "0", "对应单位");
        this.addfields("mdr", "tinyint(1)", "0", "免打扰");
        this.addfields("optdt", "datetime", null, "操作时间");

        this.addfields("gid", "KEY", "`gid`", "群ID");
        this.addfields("typegidsid", "UNIQUE KEY", "`type`,`gid`,`sid`", "主键");
    }
}
